package com.czumi.javawx.web.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.czumi.javawx.constants.UrlConst;

@Controller
public class AdminController {

	@RequestMapping(value = UrlConst.URL_ADMIN_INDEX, method = RequestMethod.GET)
	public String Index() {
		String appid = "wx37d03b9592fa5e05";
		String appscret = "27210c8de5819cbde245a20905b6af3a";
		String accessToken;
		// try {
		// accessToken = JwTokenAPI.getAccessToken(appid, appscret);
		// System.out.println(accessToken);
		// } catch (WexinReqException e) {
		// // TODO Auto-generated catch block
		// e.printStackTrace();
		// }
		return "admin/index";
	}

}
